package com.topc.problem.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.topc.core.po.BaseEntity;
import com.topc.oj.result.CodeFinalResult;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 用户问题提交关系表
 * </p>
 *
 * @author itcast
 */
@Data
@TableName("problem_user_mid")
@Accessors(chain = true)
public class ProblemUserMid extends BaseEntity {



    /**
     * 用户id
     */
    private String userNumber;

    /**
     * 题目id
     */
    private Long problemId;

    /**
     * 内容id
     */
    private Long contentId;

    /**
     * 情况id
     */
    private String conditionMid;

    /**
     * 得分
     */
    private Integer score;

    /**
     * 竞赛id
     */
    private Long competitionId;


    @TableField(exist = false)
    private String content;

    @TableField(exist = false)
    private List<CodeFinalResult> commitStatus;

    @TableField(exist = false)
    private int codeType;


}
